$(function(){
	hiddle01();
	moren();
	moren01();
	moren02();
	moren04();
	moren05();
	$("#head_right").on("click",show01);
	$("#cancle").on("click",hiddle01);
	$(".three021").on("click",discolor01);
	$("#comment_right_bottom_three_img01").on("click",discolor03);
	$(".foot_right").on("click",discolor02);
	$("#comment_right_bottom_three_img02").on("click",discolor04);
	$("#comment_right_bottom_three_img03").on("click",discolor05);
});
function show01(){
	$("#inner").show();
	$("#max").show();
}
function hiddle01(){
	$("#inner").hide();
	$("#max").hide();
}

var number = 0;

function discolor01(){
	if (number==0) {
		show_dianzan();
		number=1;
	} else if(number==1){
		moren();
		number=0;
	}
}

function discolor02(){
	if (number==0) {
		show_dianzan02();
		number=1;
	} else if(number==1){
		moren02();
		number=0;
	}
}
function discolor03(){
	if (number==0) {
		show_dianzan01();
		number=1;
	} else if(number==1){
		moren01();
		number=0;
	}
}

function discolor04(){
	if (number==0) {
		show_dianzan04();
		number=1;
	} else if(number==1){
		moren04();
		number=0;
	}
}
function discolor05(){
	if (number==0) {
		show_dianzan05();
		number=1;
	} else if(number==1){
		moren05();
		number=0;
	}
}

function show_dianzan(){
	$(".dianzan_discolor").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan02_litter.png");
}
function moren(){
	$(".dianzan_discolor").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan01_litter.png");
}

function show_dianzan01(){
	$(".change_color").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan02_litter.png");
}
function moren01(){
	$(".change_color").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan01_litter.png");
}
function show_dianzan02(){
	$(".change_color01").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan02_big.png");
}
function moren02(){
	$(".change_color01").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan01_big.png");
}
function show_dianzan04(){
	$(".change_color_two").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan02_litter.png");
}
function moren04(){
	$(".change_color_two").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan01_litter.png");
}
function show_dianzan05(){
	$(".change_color_three").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan02_litter.png");
}
function moren05(){
	$(".change_color_three").attr("src", "../../../img/app/community_ljw/famous_cafe/dianzan01_litter.png");
}